package com.cx.mapper;

import com.cx.pojo.LogMessage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogMessageMapper {

    int insertMessage(LogMessage logMessage);

    List<LogMessage> selectByUid(int uid);

    LogMessage selectByid(int id);

    int updateLogStatus(int id);

    int deleteLog(int id);

}
